package day07;

public class OverloadDemo {
    public static void main(String[] args) {
        showshowway();
        showshowway("李舟君");
        showshowway("李舟君",40);
        showshowway(40);


    }

    public static void showshowway(){

    }

    public static void showshowway(String name){

    }
    public static void showshowway(String name,int age){

    }
    public static void showshowway(int age){

    }
//    public  static  int showshowway(int age){
//        return age;
//    }    重载编译错误
}
